package com.jjh.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jjh.annation.CreateTime;
import com.jjh.annation.UpdateTime;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 口味标签的json字符串格式的vo
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class FlavourTagStrVo {

    private Integer id;

    private String kouwei;
    /**
     * 主要是这里要变成json字符串的格式，为了向数据库中存储
     */
    private String tags;

    private Integer dishId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @CreateTime
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @UpdateTime
    private LocalDateTime updateTime;




}
